Skip to content

Add schema deserialization compatibility test#18630

Draft
wolfkill wants to merge 1 commit into
apache:masterfrom
wolfkill:fix/schema-field-spec-deser
Draft

Add schema deserialization compatibility test#18630
wolfkill wants to merge 1 commit into
apache:masterfrom
wolfkill:fix/schema-field-spec-deser

Conversation

@wolfkill
Copy link
Copy Markdown
Contributor

Summary

Why

The reported schema now deserializes successfully on current master. This test keeps that compatibility covered so the older/simple schema format does not regress.

Fixes #14017

Tests

  • JAVA_HOME=/opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home ./mvnw -pl pinot-spi -Dtest=SchemaSerializationTest#testDeserializeSimpleSchemaWithoutFieldType test
  • JAVA_HOME=/opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home ./mvnw -pl pinot-spi -Dtest=SchemaSerializationTest test
  • git diff --check

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.40%. Comparing base (a762254) to head (01dd72e).

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #18630   +/-   ##
=========================================
  Coverage     64.40%   64.40%           
  Complexity     1137     1137           
=========================================
  Files          3337     3337           
  Lines        206069   206069           
  Branches      32128    32128           
=========================================
+ Hits         132710   132721   +11     
+ Misses        62726    62716   -10     
+ Partials      10633    10632    -1     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-21 64.40% <ø> (+<0.01%) ⬆️
temurin 64.40% <ø> (+<0.01%) ⬆️
unittests 64.40% <ø> (+<0.01%) ⬆️
unittests1 56.83% <ø> (+<0.01%) ⬆️
unittests2 36.93% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

a recent change in FieldSpec breaks simple schema deser

2 participants